<div ng-include="'/modules/template/header.html'"></div>

<div class="weizhi">
    <div class="container">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_weizhi">
                当前位置->><a ui-sref="main">首页</a>->><a ui-sref="sdandard_dynamic({id:'NEW_PUBLISH'})">标准动态</a>->><a ui-sref="sdandard_dynamic({id:'NEW_PUBLISH'})">标准详情</a>
            </div>
        </div>
    </div>
</div>

<div class="se_main">
	<div class="container">
    	<div class="row" style="box-shadow: 0px 0px 5px #ccc; background-color: #fff;">
        	<div class="col-xs-12 wx_top">
				<div class="wx_top_1">
					<span>{{standardInfo[0].A100}}</span>
					<span class="xianxing" >
					   {{standardInfo[0].A000 | statusFilter}}
					</span>
				</div>
				<div class="wx_top_2">
					<div class="zhongwen">中文题名：<span>{{standardInfo[0].A298}}</span></div>
					<div class="yingwen">英文题名：<span>{{standardInfo[0].A302}}</span></div>
				</div>
				<div class="wd_top">
					<div class="wd_top_4">
						<a class="wd4_3 cd-popup-trigger3" ng-click="getCartElec(standardInfo[0].A001)" >加入购物车</a>
						<a class="wd4_2" ng-click="collection(standardInfo[0].A001, standardInfo[0].A298, collectionText)" ng-bind="collectionText"></a>
						<a href="javascript:0;" class="wd4_3 cd-popup-trigger3" ng-click="getElec(standardInfo[0].A001)">立即购买</a>
						<a class="wd4_4" ng-click="tracking(standardInfo[0].A001, standardInfo[0].A298, trackingText)" ng-bind="trackingText">跟踪</a>
						<a class="wd4_5" ng-click="getElecInfo(standardInfo[0].A001)">预览</a>
					</div>
					<div class="clearfix"></div>
				</div>  
            </div>
      		<div class="col-xs-12 wx_main">
      			<div class="col-md-7 col-xs-12 wx_main_left">
      				<div class="jbxx">
      					<div class="jb1">基本信息</div>
      					<div class="jb2"><span class="jb_t">发布日期：</span><span class="jb_x">{{standardInfo[0].A101}}</span></div>
      					<div class="jb2"><span class="jb_t">实施日期：</span><span class="jb_x">{{standardInfo[0].A205}}</span></div>
      					<div class="jb2"><span class="jb_t">全文语种：</span><span class="jb_x">{{standardInfo[0].A300}}</span></div>
      					<div class="jb2"><span class="jb_t">标准来源：</span><span class="jb_x">{{standardInfo[0].A104}}</span></div>
      				</div>
      				<div class="white"></div>
      				<div class="jbxx">
      					<div class="jb1">适用范围</div>
      					<div class="jb1-text">
      						{{standardInfo[0].A330}}
      					</div>
      				</div>
      				<div class="white"></div>
      				<div class="wx_main_right" style="background-color: white;">
      				  <div class="gl"><span>关联标准</span></div>
	                    <div class="dt">
	                        <div class="dt_1">代替如下标准</div>
	                        <div class="dt_2" ng-repeat="sr in standardReplace track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:sr.recordStateInt})" >{{sr.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{sr.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="dt">
	                        <div class="dt_1">被如下标准代替</div>
	                        <div class="dt_2" ng-repeat="bs in BereplaceStandard track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:bs.recordStateInt})">{{bs.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{bs.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="dt">
	                        <div class="dt_1">引用了如下标准</div>
	                        <div class="dt_2" ng-repeat="sq in standarQuote track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:sq.recordStateInt})">{{sq.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{sq.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="dt">
	                        <div class="dt_1">被如下标准引用</div>
	                        <div class="dt_2" ng-repeat="as in auotedStandard track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:as.recordStateInt})">{{as.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{as.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="dt">
	                        <div class="dt_1">被如下标准采用</div>
	                        <div class="dt_2" ng-repeat="sa in standardAdopt track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:sa.recordStateInt})">{{sa.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{sa.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="dt">
	                        <div class="dt_1">采用如下标准引用</div>
	                        <div class="dt_2" ng-repeat="ads in adoptedStandard track by $index">
	                            <div class="dt_2_text">
	                                <a ui-sref="standard_info({id:ads.recordStateInt})">{{ads.standardNo}}</a>
	                            </div>
	                            <div class="dt_2_text">{{ads.standardName}}</div>
	                        </div>
	                    </div>
	                    <div class="white"></div>
      				</div>
      			</div>
      			<div class="col-md-5 col-xs-12 wx_main_right">
                    <div class="dt">
                        <div class="dt_1">同一中国标准分类下的其他标准</div>
                        <div class="dt_2" ng-repeat="cl in ccsList track by $index">
                            <div class="dt_2_text">
                                <a ui-sref="standard_info({id:cl.recordStateInt})">{{cl.standardNo}}</a>
                            </div>
                            <div class="dt_2_text">{{cl.standardName}}</div>
                        </div>
                    </div>
                    <div class="dt">
                        <div class="dt_1">同一国际标准分类下的其他标准</div>
                        <div class="dt_2" ng-repeat="il in icsList track by $index">
                            <div class="dt_2_text">
                                <a ui-sref="standard_info({id:il.recordStateInt})">{{il.standardNo}}</a>
                            </div>
                            <div class="dt_2_text">{{il.standardName}}</div>
                        </div>
                    </div>
      			</div>
      		</div>
        </div>
    </div>
</div>

<div class="cd-popup3">
    <div class="cd-popup-container3">
        <div class="cd-top">
        	<div class="gb" ng-bind="elec.a100"></div>
        	<div class="" ng-bind="elec.a298"></div>
        </div>
        <div class="cd-main">
           	<div class="cd-1">
           		<div class="tu-box"><img src="/temp/images/11130f096dbec743756b69cbb22f9.jpg"></div>
           		<div class="jg-box">售价：￥<span class="jiage" ng-bind="elec.price"></span></div>
           		<div class="clearfix"></div>
           	</div>
           	<div class="cd-2">
           		<div class="bzys" >标准页数：{{elec.pageNum}}</div>
           		<div class="dgsl">
           			<div class="num">订购数量：</div>
           			<div class="add">
						<button type="button" class="jian"  id="minusnum{{elec}}" ng-click="minus(elec)"  ng-disabled="count==1"></button>
						<span  class="num"  ng-bind="count" ></span>
						<button type="button" class="jia" id="plusnum{{elec}}" ng-click="plus(elec)"></button>
					</div>
           		</div>
           	</div>
           	<div class="cd-3">
           		<button type="button" ng-click="instantaneousBuy(elec,count)">{{title}}</button>
           	</div>
        </div>
        <a href="#0" class="cd-popup-close">X</a>
    </div>
</div>
<script type="text/javascript">
    /*弹框JS内容*/
    jQuery(document).ready(function($){
		
        //关闭窗口
        $('.cd-popup3').on('click', function(event){
            if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup3') ) {
                event.preventDefault();
                $(this).removeClass('is-visible3');
            }
        });
        //ESC关闭
        $(document).keyup(function(event){
            if(event.which=='27'){
                $('.cd-popup3').removeClass('is-visible3');
            }
        });
    });
</script>